package com.matrix.api.product.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * @author 有点甜
 * @since 2025/7/27
 */
@Data
public class SpecGroupDTO {
    @NotBlank
    private String name;
    @NotEmpty
    @Valid
    private List<SpecOptionDTO> options;
}
